import request from '@/router/axios';

/**
 * 获取上传链接
 * @param modName 模块名称
 * @param fileName 文件名称
 * @returns {AxiosPromise}
 */
export const upLoad = (modName, fileName) => {
  return request({
    url: '/api/blade-resource/oss/endpoint/upload',
    method: 'post',
    params: {
      "modName": modName,
      "fileName": fileName
    }
  })
}

